# -*- coding: utf-8 -*-
"""
通过万得(大奖章网站)开放数据接口获取实时数据
"""
import pandas as pd
import numpy as np
import os 
import sys
import imp 
from pandas import DataFrame,Series

os.listdir()

from WindPy import *
w.start()
w.menu()
w.wsd("000001.SZ","open,high,low,close,volume","2015-03-15","2015-03-24","PriceAdj=F")
codes='600030.SH'
fields="open,high,low,close,volume"
w.wsi(codes,fields)  # 分钟级数据
w.wsq(codes,fields)  # 实时数据